package com.lanou.entity;

import java.util.Arrays;

public class CartItem{
    private long id;
    private Integer num;
    private String[] images;
    private String title;
    private Long price;
    private Integer status;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public String[] getImages() {
        return images;
    }

    public void setImages(String[] images) {
        this.images = images;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Long getPrice() {
        return price;
    }

    public void setPrice(Long price) {
        this.price = price;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "CartItem{" +
                "id=" + id +
                ", num=" + num +
                ", images=" + Arrays.toString(images) +
                ", title='" + title + '\'' +
                ", price=" + price +
                ", status=" + status +
                '}';
    }
}
